


body > div > div:first-child > div {
    /*border: 1px solid blue;*/
}

/*body > div > div:first-child > div:nth-child(1) {*/
/*display: flex;*/
/*justify-content: center;*/
/*}*/

/*body > div > div:first-child > div:nth-child(1) > div {*/
/*background-color: gray;*/
/*border: 1px solid red;*/
/*width: 900px;*/
/*}*/


/*-------------------------------------------*/

.middle > div {
    /*width: 900px;*/
    display: flex;
    justify-content: space-between;
    /*margin: 30px 0;*/
}



.middle > div > div:nth-child(1) {
    width: 480px;
}

.middle > div > div:nth-child(2) {
    width: 400px;
}

/*---------------------------------------*/

/*兄弟选择器*/
/*.title+div{*/
/*    padding: 10px;*/
/*}*/
.middle > div > div > div {
    padding: 10px;
}

.middle > div > div > div:nth-child(2) {
    border-top: 1px solid red;
    display: flex;
    justify-content: space-between;
}

/*新闻动态的左边的图片*/
.middle > div > div:nth-child(1) > div:nth-child(2) > div:nth-child(1) {
    /*border: 1px solid blue;*/
    width: 200px;
    height: 180px;
}

.middle > div > div:nth-child(1) > div:nth-child(2) > div:nth-child(1) img {
    width: 100%;
    height: 100%;
}

.news {
    width: 240px;
}

.news > div {
    border-bottom: 1px dashed red;
    height: 45px;
    margin-top: 10px;
    /*width:200px;*/

}

.news > div > div:nth-child(1) {
    font-size: 20px;
    color: black;

}

.news > div > div:nth-child(2) {
    font-size: 15px;
    color: gray;

}

/*单行溢出*/
.single-nowrap {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/*多行溢出*/
.many-nowrap {
    display: -webkit-box;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

/*------------------------产品----------------------------*/

.product > div {
    width: 180px;
    /*border: 1px solid blue;*/
}

.product > div > div:nth-child(1) {
    width: 180px;
    height: 130px;
}

.product > div > div:nth-child(1) img {
    width: 100%;
    height: 100%;
}

.product > div > div {
    font-size: 20px;
    color: black;
    cursor: pointer;
}

.product > div > div:nth-child(3) {
    font-size: 15px;
    color: gray;
}
